package com.checkoutcheckins.client.handlers;

import com.checkoutcheckins.client.data.CheckoutcheckinsHomeContainer;
import com.checkoutcheckins.client.widgets.CheckoutCheckinsMapContainer;
import com.google.gwt.event.logical.shared.ResizeEvent;
import com.google.gwt.event.logical.shared.ResizeHandler;

public class CheckoutCheckinsResizeHandler implements ResizeHandler {
	
	public CheckoutCheckinsMapContainer mapContainer;
	
	public CheckoutCheckinsResizeHandler(CheckoutcheckinsHomeContainer data){
		this.mapContainer = data.getMapContainer();
	}

	@Override
	public void onResize(ResizeEvent event) {
		mapContainer.updateMapSize();
	}

}
